import request from '../utils/request';

export const fetchData = query => {
    return request({
        url: './table.json',
        method: 'get',
        params: query
    });
};




// export const test = () => {
//     return request({
//         url: 'http://suggest.taobao.com/sug?code=utf-8&q=手机&callback=cb',
//         method: 'get',
//         // params: query
//     });
// };